		<div id="list-bookRequest" class="content scaffold-list">
			<h1>Search Book Requests</h1>
			<g:if test="${flash.message}">
			<div class="message">${flash.message}</div>
			</g:if>
			<table>
				<thead>
					<tr>
					
						<th><g:message code="bookRequest.user.label" default="Teacher" /></th>
					
						<g:sortableColumn property="description" title="${message(code: 'bookRequest.description.label', default: 'Description')}" />
					
						<th><g:message code="bookRequest.book.label" default="Book" /></th>
					
						<g:sortableColumn property="dateRequested" title="${message(code: 'bookRequest.dateRequested.label', default: 'Date Requested')}" />
					
					</tr>
				</thead>
				<tbody>
				<g:each in="${bookRequestInstanceList}" status="i" var="bookRequestInstance">
					<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
					
						<td><g:link action="show" id="${bookRequestInstance.id}">${fieldValue(bean: bookRequestInstance, field: "user")}</g:link></td>
					
						<td>${fieldValue(bean: bookRequestInstance, field: "description")}</td>
					
						<td>${fieldValue(bean: bookRequestInstance, field: "book")}</td>
					
						<td><g:formatDate date="${bookRequestInstance.dateRequested}" /></td>
					</tr>
				</g:each>
				</tbody>
			</table>
		</div>